/* =======================================================
   MOBILE STYLES - trening-personalny-mobile.css
   Kompletna wersja bez kropek na timeline
======================================================= */

/* ====== PODSTAWOWE BREAKPOINTY ====== */

/* Desktop - domyślnie ukryj elementy mobilne */
.hamburger,
.mobile-sidebar, 
.mobile-overlay { 
  display: none; 
}

/* ====== TABLET (1024px) ====== */
@media (max-width: 1024px) {
  .navbar { padding: 12px 30px; margin: 0 20px; }
  .nav-menu { gap: 20px; }
  
  /* Sekcje - mniejsze odstępy */
  .personal-hero__container,
  .how-it-works-container,
  .assessment-grid,
  .preparation-grid,
  .contact-container { 
    gap: 40px; 
  }
  
  .personal-hero__title { font-size: 2.8rem; }
}

/* ====== MOBILE (768px) ====== */
@media (max-width: 768px) {
  /* HAMBURGER MENU */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1003;
  }
  
  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger.active span:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 5px); 
  }
  .hamburger.active span:nth-child(2) { 
    opacity: 0; 
  }
  .hamburger.active span:nth-child(3) { 
    transform: rotate(-45deg) translate(7px, -6px); 
  }
  
  /* Ukryj desktop menu */
  .nav-menu, .social-media { display: none; }
  
  /* NAWIGACJA */
  .header { padding: 15px 0; }
  .navbar { padding: 10px 20px; margin: 0 15px; }
  .nav-logo { font-size: 1.3rem; }
  
  /* HERO SECTION */
  .personal-hero {
    padding: 100px 20px 40px;
    min-height: auto;
  }
  
  .personal-hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  /* Kontener obrazu - overflow hidden dla zoom */
  .personal-hero__image {
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Zoom zdjęcia bez zmiany rozmiaru kontenera */
  .personal-hero__image img {
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
  }
  
  .personal-hero__title { 
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .personal-hero__price {
    font-size: 1.3rem;
    margin: 12px 0 20px;
  }
  
  .personal-hero__text {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 12px;
  }
  
  .personal-hero__btn {
    margin-top: 20px;
    padding: 12px 35px;
    font-size: 1rem;
  }
  
  /* WSZYSTKIE GŁÓWNE SEKCJE */
  .roadmap-section,
  .how-it-works-section,
  .assessment-pricing-section,
  .preparation-section,
  .faq-section,
  .contact-section {
    padding: 80px 20px;
  }
  
  /* Tytuły sekcji */
  .roadmap-header h2,
  .how-it-works-content h2,
  .assessment-pricing-section .section-title,
  .preparation-section .section-title,
  .faq-section .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  /* ====== ROADMAP - PIONOWA LINIA (BEZ KROPEK) ====== */
  .roadmap-timeline {
    position: relative !important;
    padding: 50px 0 !important;
  }
  
  /* PIONOWA LINIA - NADPISANIE */
  .roadmap-line {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 4px !important;
    height: 0% !important;
    background: linear-gradient(180deg, #1F8D4F, #0C5D30) !important;
    border-radius: 2px !important;
    z-index: 1 !important;
    transition: height 2s ease-in-out !important;
  }
  
  .roadmap-line.animate {
    width: 4px !important;
    height: 100% !important;
  }
  
  /* Kontenery kroków */
  .roadmap-steps {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 60px !important;
    z-index: 2 !important;
  }
  
  .roadmap-step {
    position: relative !important;
    flex: none !important;
    width: 100% !important;
    z-index: 2 !important;
  }
  
  /* USUŃ KROPKI - wyłącz pseudo-element */
  .roadmap-step::before {
    display: none !important;
  }
  
  /* Główny kontener kroku */
  .step-content {
    position: relative !important;
    background-color: #f9f9f9 !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
    z-index: 2 !important;
  }
  
  .step-image {
    max-width: 300px !important;
    height: 200px !important;
    margin: 0 auto 20px !important;
  }
  
  .step-title {
    margin: 20px 0 15px !important;
    font-size: 1.4rem !important;
  }
  
  .step-description {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }
  
  /* HOW IT WORKS */
  .how-it-works-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  /* ASSESSMENT & PRICING */
  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pricing-table {
    padding: 30px;
  }
  
  /* PREPARATION */
  .preparation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* FAQ */
  .faq-question {
    font-size: 1rem;
    padding: 18px;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
  }
  
  /* FOOTER */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  /* MODAL */
  .modal-content {
    max-width: 95%;
    max-height: 90vh;
  }
}

/* ====== SMALL PHONE (480px) ====== */
@media (max-width: 480px) {
  /* NAWIGACJA */
  .header { padding: 10px 0; }
  .navbar { padding: 15px 20px; margin: 0 10px; }
  .nav-logo { font-size: 1.2rem; }
  
  /* HERO */
  .personal-hero {
    padding: 140px 15px 30px;
  }
  
  .personal-hero__container { gap: 30px; }
  
  .personal-hero__image img {
    max-width: 320px;
    height: 320px;
    transform: scale(1.2);
  }
  
  .personal-hero__title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .personal-hero__price {
    font-size: 1.2rem;
    margin: 10px 0 15px;
  }
  
  .personal-hero__text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .personal-hero__btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  /* WSZYSTKIE SEKCJE */
  .roadmap-section,
  .how-it-works-section,
  .assessment-pricing-section,
  .preparation-section,
  .faq-section,
  .contact-section {
    padding: 60px 15px;
  }
  
  /* Tytuły */
  .roadmap-header h2,
  .how-it-works-content h2,
  .assessment-pricing-section .section-title,
  .preparation-section .section-title,
  .faq-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  /* ROADMAP - bez kropek na małych ekranach też */
  .roadmap-step::before {
    display: none !important;
  }
  
  .step-image {
    max-width: 200px !important;
    height: 140px !important;
  }
  
  .step-content {
    padding: 20px !important;
  }
  
  /* PREPARATION */
  .preparation-grid {
    gap: 25px;
    max-width: none;
  }
  
  .prep-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  /* Inne elementy */
  .pricing-table {
    padding: 25px 20px;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 0.9rem;
  }
}

/* ====== VERY SMALL (375px) ====== */
@media (max-width: 375px) {
  .personal-hero__image img {
    max-width: 280px;
    height: 280px;
    transform: scale(1.2);
  }
}

/* ====== TINY SCREENS (320px) ====== */
@media (max-width: 320px) {
  .navbar {
    margin: 0 5px;
    padding: 12px 15px;
  }
  
  .personal-hero {
    padding: 130px 10px 25px;
  }
  
  .personal-hero__image img {
    max-width: 260px;
    height: 260px;
    transform: scale(1.2);
  }
  
  .personal-hero__title {
    font-size: 1.6rem;
  }
  
  /* Padding dla wszystkich sekcji */
  .roadmap-section,
  .how-it-works-section,
  .assessment-pricing-section,
  .preparation-section,
  .faq-section,
  .contact-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .prep-icon {
    font-size: 2rem;
  }
}

/* ====== DOTYKOWE URZĄDZENIA - BEZ HOVER ====== */
@media (hover: none) and (pointer: coarse) {
  /* Minimalne rozmiary dla lepszej dostępności */
  .nav-link,
  .social-media a,
  .footer-social-media a {
    min-width: 44px;
    min-height: 44px;
  }
  
  .faq-question {
    min-height: 60px;
  }
}

/* ====== OVERLAY MOBILNY ====== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ====== MOBILE SIDEBAR ====== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  transition: right 0.3s ease;
  z-index: 1002;
}

.mobile-sidebar.active {
  right: 0;
}

/* Wyłącz scroll body gdy modal/sidebar aktywny */
body.modal-open {
  overflow: hidden;
}

/* =========================
   FOOTER - MOBILE
   ========================= */
@media (max-width: 768px) {
    .footer-main {
        padding: 30px 20px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }

    .footer-contact,
    .footer-social,
    .footer-links {
        text-align: center;
    }

    .footer-contact a,
    .footer-social-link,
    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-bottom {
        margin-top: 25px;
        padding-top: 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 25px 15px 12px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-contact a,
    .footer-social-link,
    .footer-links a {
        font-size: 0.85rem;
    }
}